﻿#include <iostream>
#include <string>
#include <thread>

#include <zmq.hpp>

#include "../../inc/helper.hpp"

int main()
{
	zmq::context_t ctx;
	zmq::socket_t frontend(ctx, zmq::socket_type::router);
	zmq::socket_t backend(ctx, zmq::socket_type::dealer);
	frontend.bind("tcp://*:5559");
	backend.bind("tcp://*:5560");

	zmq::proxy(frontend, backend, NULL);
}
